Skip to content

Fix typos in source comments and treemap attribute description#7763

Closed
Bojun-Vvibe wants to merge 1 commit intoplotly:masterfrom
Bojun-Vvibe:agent/plotly_plotly.js-1776711941
Closed

Fix typos in source comments and treemap attribute description#7763
Bojun-Vvibe wants to merge 1 commit intoplotly:masterfrom
Bojun-Vvibe:agent/plotly_plotly.js-1776711941

Conversation

@Bojun-Vvibe
Copy link
Copy Markdown

Repo: plotly/plotly.js (⭐ 17000)
Type: docs
Files changed: 3
Lines: +3/-3

What

Corrects three small typos in the src/ tree: a duplicated "the the" in a treemap pathbar.side attribute description (which is user-visible — it ships in the auto-generated plot schema/docs), a duplicated "the the" in a comment in layout_defaults.js, and "widht" → "width" in a comment in plot_api.js.

Why

The treemap pathbar.side description is exposed to end users via the plot schema and the online attribute reference, so the duplicated word appears in published documentation. The other two are internal comments but were caught while scanning for the same typo class. All changes are comment/string-only and have no runtime impact.

Testing

No behavioral change. The treemap attribute description is a plain string consumed by the schema generator; no tests assert on its exact wording. A grep for the the in src/ returns no remaining hits after the change.

Risk

Low — comment and description string edits only, no code paths affected.

@Bojun-Vvibe Bojun-Vvibe closed this by deleting the head repository Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants